Returns or sets a value indicating whether the column headers are displayed in a DataGrid control.
Syntax
object.ColumnHeaders [= value]
The ColumnHeaders property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A Boolean expression that determines whether column headers are displayed, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
True | DataGrid control's column headers are displayed |
False | DataGrid control's column headers aren't displayed |